package com.naiterui.ehp.bs.emr.entity.mongo.health;

import io.swagger.annotations.ApiModel;
import lombok.*;

import java.io.Serializable;

/**
 * @Description 饮酒史
 * @Author gongbaoqiang
 * @Date 2020/6/2 2:30 PM
 */
@Data
@ToString
@Builder
@ApiModel("饮酒史")
public class Drinking implements Serializable {
    private static final long serialVersionUID = 5647273778033694457L;

    /**
     * 外伤史
     */
    private String value;

    /**
     * 饮酒史详情
     */
    private OptionDetail detail;


    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class OptionDetail{

        /**
         * 饮酒时间
         */
        private String  duration;

        private String durationUnit;

        /**
         * 每天数量
         */
        private String dayCount;

        /**
         * 每天数量单位
         */
        private String dayUnit;
    }
}
